Skip to content

Conversation

@waralexrom
Copy link
Member

Check List

  • Tests have been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Issue Reference this PR resolves

[For example #12]

Description of Changes Made (if issue reference is not provided)

[Description goes here]

@waralexrom waralexrom requested a review from a team as a code owner March 28, 2025 10:52
@codecov
Copy link

codecov bot commented Mar 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.72%. Comparing base (6ff9331) to head (c4f8b9c).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9400      +/-   ##
==========================================
- Coverage   83.72%   83.72%   -0.01%     
==========================================
  Files         229      229              
  Lines       82614    82614              
==========================================
- Hits        69172    69168       -4     
- Misses      13442    13446       +4     
Flag Coverage Δ
cubesql 83.72% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

return this.resolveSymbolsCallDeps2(cubeName, sql);
const deps: any[] = [];
this.resolveSymbolsCall(sql, (name) => {
deps.push({ name, undefined });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What did you mean? It seems to be incorrect. what did you want to mark as undefined? You're pushing an object, not a tuple.

self.date_range.clone()
}

pub fn get_range_for_time_seiories(&self) -> Result<Option<(String, String)>, CubeError> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pub fn get_range_for_time_seiories(&self) -> Result<Option<(String, String)>, CubeError> {
pub fn get_range_for_time_series(&self) -> Result<Option<(String, String)>, CubeError> {

@waralexrom waralexrom force-pushed the tesseract-fix-rolling-window-with-multiple-time-dimensions branch from 9f89296 to 424bdbd Compare March 28, 2025 17:08
@waralexrom waralexrom force-pushed the tesseract-custom-granularities-support branch from e0c5a44 to a8476d9 Compare March 28, 2025 17:46
return this.resolveSymbolsCallDeps2(cubeName, sql);
const deps: any[] = [];
this.resolveSymbolsCall(sql, (name) => {
deps.push({ name, parent: undefined });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just

Suggested change
deps.push({ name, parent: undefined });
deps.push({ name });

Copy link
Member

@KSDaemon KSDaemon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 LGTM! Left one minor note :)

@waralexrom waralexrom requested a review from ovr March 28, 2025 18:14
Base automatically changed from tesseract-fix-rolling-window-with-multiple-time-dimensions to master March 28, 2025 18:28
@waralexrom waralexrom force-pushed the tesseract-custom-granularities-support branch from af4571b to c4f8b9c Compare March 28, 2025 18:29
@waralexrom waralexrom merged commit dc93e40 into master Mar 28, 2025
78 checks passed
@waralexrom waralexrom deleted the tesseract-custom-granularities-support branch March 28, 2025 20:34
marianore-muttdata pushed a commit to MuttData/cube that referenced this pull request Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants